package kvraft

import (
	"6.824/utils"
	"fmt"
)

func (kv *KVServer) Log(topic utils.LogTopic, str string, v ...interface{}) {
	utils.Debug(topic, fmt.Sprintf("S%d: ", kv.me)+str, v...)
}

func (kv *KVServer) Print(topic utils.LogTopic, str string, v ...interface{}) {
	utils.Print(topic, fmt.Sprintf("S%d: ", kv.me)+str, v...)
}
